import java.util.Scanner;

public class Input {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNextInt()) {
			int a=sc.nextInt();
			int b=sc.nextInt();
			if (a>1000) {
				System.out.println("a<=1000");
			} else {
				int c=a+b;
				System.out.println(c);
			}
		}
		sc.close();
	}
}
